$(document).ready(function() {
	$("#slideshowimages").carouFredSel({
		items				: 1,
		responsive          : true,
		scroll : {
			fx				: "crossfade",
			easing			: "linear",
			duration		: 800,							
			pauseOnHover	: true
		},
		items		: {
			width		: 1300,
			height		: 400,
			visible		: 1
		}				
	});	
	
	
	$("#sliderimages").carouFredSel({
		width   			: "100%",
		responsive  : true,
		auto: {
			items           : 1,
	        duration        : 1500,
	        easing          : "linear",
	        timeoutDuration : 0
		},
		items       : {
	        width       : 250,
			height      : 280,
	        visible     : {
	            min         : 2,
	            max         : 4
	        }
	    }
	}).trigger("pause");
	
	
	$(".arrow-left").mouseenter(function(){
		$("#sliderimages").trigger("configuration", ["direction", "right"]).trigger("play");
	}).mouseout(function() {
	    $("#sliderimages").trigger("pause");
	});
	
	$(".arrow-right").mouseenter(function(){
		$("#sliderimages").trigger("configuration", ["direction", "left"]).trigger("play");
	}).mouseout(function() {
	    $("#sliderimages").trigger("pause");
	});
	
});
